package com.yunxi.stock.service;

import com.github.pagehelper.PageInfo;
import com.yunxi.stock.pojo.PartnerStockOutVO;

import java.lang.reflect.InvocationTargetException;
import java.util.List;

/**
 * <p>
 * 渠道商退车出库表 服务类
 * </p>
 *
 * @author chenmeng
 * @since 2019-07-24
 */
public interface PartnerStockOutDubboService {

    PartnerStockOutVO getById(String id) throws InvocationTargetException, IllegalAccessException;

    void saveOrUpdate(PartnerStockOutVO partnerStockOutVO) throws InvocationTargetException, IllegalAccessException;

    void removeById(String id);

    PageInfo<PartnerStockOutVO> findPageByVO(PartnerStockOutVO partnerStockOutVO, Integer pageNum, Integer pageSize) throws InvocationTargetException, IllegalAccessException;

    void removeByListVo(List<PartnerStockOutVO> partnerStockOutVOList) throws IllegalAccessException, InvocationTargetException, InstantiationException;

    List listByVo(PartnerStockOutVO partnerStockOutVO);
}
